SRCS=$(wildcard *.c)
EXES=$(patsubst %.c,%, $(SRCS))
all:$(EXES)
CC=gcc
%:%.c
	$(CC) $^ -o $@ -g -lpthread -I /usr/include/mysql/ -lmysqlclient -lcrypt
clean:
	$(RM) $(EXES)
rebulid:clean all